import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/styles/index.scss';
import './assets/iconfont/iconfont.css';
import project from '../package.json';
import lang from './assets/lang/zh-hans'

Vue.use(ElementUI);
Vue.config.productionTip = false;

//使用cesium默认资源 需要的token;
Cesium.Ion.defaultAccessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIxZjY3YWY4OC0zZjBhLTQ4ZDUtODIxMi0xZjA0MzYwMTljM2MiLCJpZCI6OTMxMiwiaWF0IjoxNjk5MDgwODE0fQ.krvibYdjziA1ZP6RodiDw_6EomuazWBrWTPxydm8op8";

// 全局事件容器
Vue.prototype.$project = project;
Vue.prototype.$lang = lang
document.title = project.title;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
